From: Julian Sparber Date: Tue, 6 Feb 2024 15:38:19 +0000 (+0100) Subject: components/autorunManager: Add description to autorun notification X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~226^2^2~26 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3c43983ed19a000217ad004edf4109778ffee2ac;p=gnome-shell.git components/autorunManager: Add description to autorun notification Part-of: --- diff --git a/js/ui/components/autorunManager.js b/js/ui/components/autorunManager.js index 40dd5858d..0df783aed 100644 --- a/js/ui/components/autorunManager.js +++ b/js/ui/components/autorunManager.js @@ -187,9 +187,13 @@ class AutorunDispatcher { return; const source = MessageTray.getSystemSource(); + /* Translators: %s is the name of a partition on a external drive */ + const title = _('“%s” connected'.format(mount.get_name())); + const body = _('Disk can now be used'); const notification = new MessageTray.Notification({ source, - title: mount.get_name(), + title, + body, }); notification.connect('activate', () => { const app = Gio.app_info_get_default_for_type('inode/directory', false);